#ifndef COMMON_H
#define COMMON_H

#include <QtGui/QIcon>

namespace Jonathan
{

   enum IconType
   {
      ICON_Jonathan = 0,
      ICON_Book,
      ICON_SubBook,
      ICON_Chapter,
      ICON_Next_Chapter,
      ICON_Previous_Chapter,
      ICON_Exit,
      ICON_Options,
      ICON_Start
   };

   class Common
   {
   public:
      static QIcon GetIcon          (Jonathan::IconType iconId);
      static int RandomInt          (int low, int high);
      static QString GetLabelStyle  ();

      static QString TableStart     ();
      static QString TableEnd       ();
      static QString HtmlStart      ();
      static QString HtmlEnd        ();
      static QString VerseCell      (QString hAlign);
      static QString BoldCell       (QString hAlign, int colSpan = 1);
      static const QString          BOOK;
      static const QString          CHAPTER;
      static const QString          VERSE;
      static const QString          TEXT;
      static const QString          HEADER;
      static const QString          FOOTER;
      static const QString          NOTES;
      static const QString          PREFACE;
      static const QString          ALIGN_CENTER;
      static const QString          ALIGN_LEFT;
      static const QString          ALIGN_RIGHT;

   private:
      Common                   () { }
   };

}

#endif // COMMON_H
